const mysql = require("mongoose")

var url = 'mongodb://localhost:27017/my_db_01'
const db = mysql.connect(url, (err, db) => {
  if (err) throw err
  console.log('链接成功');
})
module.exports = db
